<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/8/10
 * Time: 10:34
 */
//本地
if(strpos($_SERVER['HTTP_HOST'],'localhost') !== false){
  // echo '请在后面添加/public/admin/';
}else{
    //外网
    header("location: http://au.asiaeuro.com.cn/public/admin/");
}